package cn.qingyun.gis.modules.scenes.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PoiListResponse {

    @ApiModelProperty(value = "唯一标识")
    private String id;

    @ApiModelProperty(value = "高德poi_id")
    private String poiId;

    @ApiModelProperty(value = "poi经度")
    private Double poiLng;

    @ApiModelProperty(value = "poi纬度")
    private Double poiLat;

    @ApiModelProperty(value = "poi名称")
    private String poiName;

    @ApiModelProperty(value = "结构化地址")
    private String address;

    @ApiModelProperty(value = "场景类型")
    private String type;

    @ApiModelProperty(value = "网格编码")
    private String gridCode;

    @ApiModelProperty(value = "随访状态")
    private Integer kwState;

    @ApiModelProperty(value = "所属运营商")
    private Integer belongOperator;

    /**
     * poi点与当前位置距离
     */
    private Double distance;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "上次随访时间")
    private Date kwTime;

    @ApiModelProperty(value = "勘误总数")
    private int kwPoiTotal;

    @ApiModelProperty(value = "未勘误总数")
    private int unKwPoiTotal;

    @ApiModelProperty(value = "宽带渗透率")
    private double kdRate;

    @ApiModelProperty(value = "是否是金牌建筑")
    private Integer isGoldBuild;

    @ApiModelProperty(value = "归属建筑poiId")
    private String belongBuildId;
}
